<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button class="menu">
        <div class="menu_line"></div>
        <div class="menu_line"></div>
        <div class="menu_line"></div>
    </button>
    <button class="sidebar_toggle">
        <svg viewBox="0 0 48 48">
            <line x1="44" y1="8" x2="4" y2="8"></line>
            <line x1="44" y1="22" x2="4" y2="22"></line>
            <line x1="44" y1="36" x2="4" y2="36"></line>
        </svg>
    </button>
</body>
<style>
    .menu {
        background: transparent;
        border: transparent;
        cursor: pointer;
        padding: 0;
        margin: 16px;
    }

    .menu_line {
        background: rgb(203 213 225);
        margin: 5px 0;
        height: 4px;
        width: 32px;
        transition: all 0.3s ease-out;
    }

    .menu:hover .menu_line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu:hover .menu_line:nth-child(2) {
        opacity: 0;
    }

    .menu:hover .menu_line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .sidebar_toggle {
        background: transparent;
        border: transparent;
        cursor: pointer;
        height: 2rem;
        width: 2rem;
        padding: 0;
    }

    .sidebar_toggle svg {
        fill: none;
        stroke: rgb(203 213 225);
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 4px;
    }
</style>
</html>